/**
 *  认证相关api
 **/
import { post,get } from "./../utils/NetUtil";
import { getID, getTOKEN } from "./../utils/StorageUtil";
import Config from "../Config";

export function bonusRankings(params) {
  return get("/xgy_api/v1/task/bonus_rankings", params);
}

export function aboutUs(params) {
    return get("/xgy_api/v1/platform_info/about_us", params);
}
  
export function commonQuestion(params) {
    return get("/xgy_api/v1/platform_info/common_question", params);
}
export function commonQuestion2(params) {
    return get("/xgy_api/v1/platform_info/common_question/detail", params);
}
export function myBonus(params) {
    return get("/xgy_api/v1/task/my_bonus", params);
}
export function setPassword(params) {
    return post('/xgy_api/v1/user/set_password', params); // ok
}
export function sendYZM(params) {
    return post('/xgy_api/v1/vercode/send', params); // ok
}
export function getSkill(params) {
    return get('/xgy_api/v1/platform_info/skill', params); // ok
}
export function getSkillDetail(params) {
    return get('/xgy_api/v1/platform_info/skill_detail', params); // ok
}